﻿<Window x:Class="AzureDrive.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:FLV="clr-namespace:FileListView;assembly=FileListView"
            xmlns:coll="clr-namespace:System.Collections.ObjectModel;assembly=System"
        Title="MainWindow" Height="350" Width="525">
    <Grid ShowGridLines="True">
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition Height="300*" />
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>
<!-- Toolbar-->
        <StackPanel  Grid.Row="0" Grid.Column="0" VerticalAlignment="Top" HorizontalAlignment="Left" Orientation="Horizontal">
            <ToolBar Name="topToolBar">
                <DockPanel x:Name="toolArea">
                    <Button Content="Files"  Height="23" HorizontalAlignment="Left"  Margin="5,0,2,0" VerticalAlignment="Top"  />
                    <Button Content="Folder"  Height="23" HorizontalAlignment="Left"  Margin="5,0,2,0" VerticalAlignment="Top"  />
                </DockPanel>
            </ToolBar>
          </StackPanel>

        <DockPanel Grid.Row="1" Grid.Column="0" LastChildFill="True">
            <DockPanel x:Name="gridArea">                
                <DockPanel Name="listView"  HorizontalAlignment="Stretch" Height="auto"  >                    
                    <Grid Name="gridWork"  HorizontalAlignment="Stretch">
                      
                        <!--<FLV:FolderView VerticalAlignment="Stretch" HorizontalAlignment="Stretch" x:Name="treeView1" 
                       SnapsToDevicePixels="True" Filter="*.tex|*.txt|*.exe|*.*" RecentLocations="{Binding RecentFiles}"
                        />
                       <GridSplitter Width="10" />-->
                        <!--<FLV:FolderView VerticalAlignment="Stretch" HorizontalAlignment="Stretch" x:Name="folderView1" 
                       SnapsToDevicePixels="True" Filter="*.tex|*.txt|*.exe|*.*" RecentLocations="{Binding RecentFiles}"
                        />-->
                    </Grid>                   
                    
                </DockPanel>
            </DockPanel>
        </DockPanel>
        <StackPanel  Grid.Row="2" Grid.Column="0">

            <StatusBar Name="bottomStatusBar" Height="30">
                <StatusBarItem >
                    <Button Content="Load"  Click="buttonViewLoad_Click"  HorizontalAlignment="Left" Name="buttonViewLoad" VerticalAlignment="Top" Width="40" />
                </StatusBarItem>
                <StatusBarItem />
                <StatusBarItem >
                    <Button Content="UnLoad"  Click="buttonViewUnload_Click" HorizontalAlignment="Left" Name="buttonViewUnload" VerticalAlignment="Top" Width="60" />
                </StatusBarItem>
            </StatusBar>
        </StackPanel>
    </Grid>
</Window>
